package com.green.model.manage;

import com.green.model.ExtraEntity;
import com.green.model.manage.enums.StateEnum;

/**
 * 岗位
 * @author 
 */
public class Position extends ExtraEntity<String> {
	
	
	private static final long serialVersionUID = 6559158854607115665L;
	private String name; //名称
	private Position parent; //上级组织
	private StateEnum state; //启用状态
	private Org org; //组织
	private int isPrincipal;//是否负责岗位
	private Org controUnit; //控制单元
	
	
	
	public Org getControUnit() {
		return controUnit;
	}
	public void setControUnit(Org controUnit) {
		this.controUnit = controUnit;
	}
	public int getIsPrincipal() {
		return isPrincipal;
	}
	public void setIsPrincipal(int isPrincipal) {
		this.isPrincipal = isPrincipal;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Position getParent() {
		return parent;
	}
	public void setParent(Position parent) {
		this.parent = parent;
	}
	public StateEnum getState() {
		return state;
	}
	public void setState(StateEnum state) {
		this.state = state;
	}
	public Org getOrg() {
		return org;
	}
	public void setOrg(Org org) {
		this.org = org;
	}
	

}
